home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gdm / themes / HumanList / HumanList.xml < prev    next >
Encoding:
Extensible Markup Language  |  2009-03-19  |  6.6 KB  |  256 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE greeter SYSTEM "greeter.dtd">
  3. <greeter>
  4.  
  5.   <!-- background -->
  6.   <item type="pixmap">
  7.     <normal file="background.png"/>
  8.     <pos y="0" x="0" width="100%" height="100%"/>
  9.   </item>
  10.  
  11.   <!-- ubuntu logo -->
  12.   <item type="pixmap">
  13.     <normal file="ubuntu.png" alpha="1.0"/>
  14.     <pos x="50%" y="19%" width="scale" height="16%" anchor="c"/>
  15.   </item>
  16.  
  17.   
  18.   <!-- login box -->
  19.   <item type="rect">
  20.     <pos anchor="c" x="50%" y="52%" width="380" height="50%"/>
  21. <!--     <normal color="#DD0000"/> -->
  22.     <fixed>
  23.       <!-- The background is sliced into three pieces. Only the middle
  24.        is scaled -->
  25.       <item type="pixmap">
  26.     <normal file="boundingbox-0-0.png"/>
  27.     <pos x="0" y="0" />
  28.       </item>
  29.  
  30.       <item type="pixmap">
  31.     <normal file="boundingbox-0-1.png"/>
  32.     <!-- height-= 64 + 39 = -103 -->
  33.     <pos anchor="nw" x="0" y="64" height="-103"/>
  34.       </item>
  35.  
  36.       <item type="pixmap">
  37.     <normal file="boundingbox-0-2.png"/>
  38.     <pos anchor="sw" x="0" y="-0" />
  39.       </item>
  40.  
  41.       <!-- The list itself -->
  42.       <item type="rect">
  43.     <!--  height-= 30 + * + 8 + 30 + 54 + 30 = -->
  44.     <pos anchor="n" x="50%" y="30" width="320" height="-152"/>
  45.           <fixed>
  46.       <!-- The same background trick for userlist. -->
  47.       <!-- top -->
  48.       <item type="pixmap">
  49.         <normal file="entry-0-0.png"/>
  50.         <pos x="0" y="0" />
  51.       </item>
  52.  
  53.       <item type="pixmap">
  54.         <normal file="entry-1-0.png"/>
  55.         <pos x="10" width="-20" y="0" />
  56.       </item>
  57.  
  58.       <item type="pixmap">
  59.         <normal file="entry-2-0.png"/>
  60.         <pos x="-10" y="0" />
  61.       </item>
  62.  
  63.       <!-- body -->
  64.       <item type="pixmap">
  65.         <normal file="entry-0-1.png"/>
  66.         <pos x="0" y="10" height="-20"/>
  67.       </item>
  68.  
  69.       <item type="pixmap">
  70.         <normal file="entry-1-1.png"/>
  71.         <pos x="10" y="10" width="-20" height="-20"/>
  72.       </item>
  73.  
  74.       <item type="pixmap">
  75.         <normal file="entry-2-1.png"/>
  76.         <pos x="-10" y="10" height="-20"/>
  77.       </item>
  78.  
  79.       <!-- bottom -->
  80.       <item type="pixmap">
  81.         <normal file="entry-0-2.png"/>
  82.         <pos x="0" y="-10"/>
  83.       </item>
  84.  
  85.       <item type="pixmap">
  86.         <normal file="entry-1-2.png"/>
  87.         <pos x="10" y="-10" width="-20"/>
  88.       </item>
  89.  
  90.       <item type="pixmap">
  91.         <normal file="entry-2-2.png"/>
  92.         <pos x="-10" y="-10"/>
  93.       </item>
  94.  
  95.       <item type="list" id="userlist">
  96.         <pos anchor="c" x="50%" y="50%" width="-12" height="-12"/>
  97.       </item>
  98.           </fixed>
  99.       </item>
  100.       
  101.       <!-- timer warning -->
  102.       <item type="label" id="timed-label">
  103.           <pos anchor="n" x="50%" width="-60" height="30"/>
  104.           <show type="timed"/>
  105.           <normal font="Sans Bold 9" color="#523921"/>
  106.           <stock type="timed-label"/>
  107.       </item>
  108.  
  109.       <!-- caps lock warning -->
  110.       <item type="label" id="caps-lock-warning">
  111.     <!-- y-= 8 + 30 + 54 -->
  112.           <pos anchor="s" x="50%" y="-92" width="-60" height="30"/>
  113.           <normal font="Sans Bold 10" color="#dc292b"/>
  114.           <stock type="caps-lock-warning"/>
  115.       </item>
  116.  
  117.       <item type="rect">
  118.     <pos anchor="s" x="50%" y="-30" width="260" height="54"/>
  119.         <box orientation="vertical" spacing="4">
  120.       <!-- field label -->
  121.           <item type="label" id="pam-prompt">
  122.         <pos height="20"/>
  123.         <normal font="Sans Bold 10" color="#8a3000"/>
  124.         <stock type="username-label" />
  125. <!--         <text>Password or swipe your finger:</text> -->
  126.           </item>
  127.  
  128.       <!-- entry -->
  129.       <item type="rect">
  130.         <pos width="100%" height="30"/>
  131.               <fixed>
  132.           <!-- The same background trick for entry. -->
  133.           <!-- top -->
  134.           <item type="pixmap">
  135.         <normal file="entry-0-0.png"/>
  136.         <pos x="0" y="0" />
  137.           </item>
  138.  
  139.           <item type="pixmap">
  140.         <normal file="entry-1-0.png"/>
  141.         <pos x="10" width="-20" y="0" />
  142.           </item>
  143.  
  144.           <item type="pixmap">
  145.         <normal file="entry-2-0.png"/>
  146.         <pos x="-10" y="0" />
  147.           </item>
  148.  
  149.           <!-- body -->
  150.           <item type="pixmap">
  151.         <normal file="entry-0-1.png"/>
  152.         <pos anchor="w" x="0" y="50%" height="-20"/>
  153.           </item>
  154.  
  155.           <item type="entry" id="user-pw-entry">
  156.               <normal color="#000000" font="Sans 12"/>
  157.             <pos y="50%" x="50%" width="-6" height="-6" anchor="c"/>
  158.           </item>
  159.  
  160.           <item type="pixmap">
  161.         <normal file="entry-2-1.png"/>
  162.         <pos anchor="w" x="-10" y="50%" height="-20"/>
  163.           </item>
  164.  
  165.           <!-- bottom -->
  166.           <item type="pixmap">
  167.         <normal file="entry-0-2.png"/>
  168.         <pos x="0" y="-10"/>
  169.           </item>
  170.  
  171.           <item type="pixmap">
  172.         <normal file="entry-1-2.png"/>
  173.         <pos x="10" y="-10" width="-20"/>
  174.           </item>
  175.  
  176.           <item type="pixmap">
  177.         <normal file="entry-2-2.png"/>
  178.         <pos x="-10" y="-10"/>
  179.           </item>
  180.               </fixed>
  181.       </item>
  182.         </box>
  183.       </item>
  184.     </fixed>
  185.   </item>
  186.  
  187.   <!-- pam error -->
  188.   <item type="label" id="pam-error">
  189.     <pos anchor="c" x="50%" y="80%" width="30%"/>
  190.     <normal font="Sans Bold 11" color="#dc292b"/>
  191.     <text/>
  192.   </item>
  193.  
  194.  
  195.  
  196.   <!-- pam message (hidden, but required) -->
  197.   <item type="label" id="pam-message">
  198.     <pos x="50%" anchor="c" />
  199.     <normal alpha="0.00"/>
  200.     <text></text>
  201.   </item>
  202.  
  203.   <!-- bottom bar -->
  204.   <item type="pixmap">
  205.     <normal file="bottom_bar.svg"/>
  206.     <pos y="100%" x="0" width="100%" height="100" anchor="sw"/>
  207.   </item>
  208.   <item type="rect">
  209.     <pos y="100%" x="0" width="100%" height="42" anchor="sw"/>
  210.     <box xpadding="10" spacing="10" orientation="horizontal">
  211.       <!-- reboot -->
  212.       <item type="rect" id="options_button" button="true">
  213.     <pos y="50%" width="box" height="box" anchor="w"/>
  214.     <box xpadding="0" spacing="2" orientation="horizontal">
  215.           <item type="pixmap">
  216.             <normal file="icon-session.png"/>
  217.             <prelight file="icon-session-prelight.png"/>
  218.             <active file="icon-session-active.png"/>
  219.           </item>
  220.           <item type="label">
  221.             <normal font="Sans 11" color="#ffffff"/>
  222.             <prelight font="Sans 11" color="#ff9c36"/>
  223.             <active font="Sans 11" color="#dc292b"/>
  224.             <pos y="50%" anchor="w"/>
  225.             <stock type="options"/>
  226.           </item>
  227.     </box>
  228.       </item>
  229.       <!-- halt -->
  230.       <item type="rect" id="halt_button" button="true">
  231.       </item>
  232.       <!-- quit / disconnect -->
  233.       <item type="rect" id="disconnect_button" button="true">
  234.       </item>
  235.     </box>
  236.   </item>
  237.  
  238.   <!-- hostname and clock -->
  239.   <item type="rect">
  240.     <pos x="100%" y="100%" width="box" height="42" anchor="se"/>
  241.     <box xpadding="10" spacing="10" orientation="horizontal">
  242.       <item type="label">
  243.     <pos x="100%" y="50%" anchor="e"/>
  244.     <normal font="Sans Bold 11" color="#ffffff"/>
  245.     <text>%h //</text>
  246.       </item>
  247.       <item type="label" id="clock">
  248.     <pos x="100%" y="50%" anchor="e"/>
  249.     <normal font="Sans 11" color="#ffffff"/>
  250.     <text>%c</text>
  251.       </item>
  252.     </box>
  253.   </item>
  254.  
  255. </greeter>
  256.